{{#if compadd}}
<h6>组件管理 <a href="javascript:;" class="close"></a></h6>

<div class="form-group">
    <label for="place">所处组</label>
    <select name="place" id="place">
        <option>h5player-msite</option>
        <option>Slide-Banner</option>
    </select>
</div>

<div class="form-group">
    <label for="name">组件名</label>
    <input type="text" name="name" id="name">
</div>

<div class="form-group">
    <label for="developer">开发人员</label>
    <input type="text" name="developer" id="developer">
</div>

<div class="form-group txtlong">
    <label for="txt">描述</label>
    <textarea type="text" name="txt" id="txt"></textarea>
</div>

<button type="submit" class="Cbtn">保存</button>

{{/if}}


{{#if useradd}}
<h6>用户管理<a href="javascript:;" class="close"></a></h6>

<div class="form-group">
    <label for="name">开发人员</label>
    <input type="text" name="name" id="name">
</div>

<div class="form-group txtlong">
    <label for="email">邮箱</label>
    <input type="text" name="email" id="email">
</div>

<div class="form-group">
    <label for="power">选择权限</label>
    <select name="power" id="power">
        <option>管理员</option>
        <option>开发者</option>
        <option>访客</option>
    </select>
</div>

<button type="submit" class="Cbtn">提交</button>
{{/if}}

{{#if groupadd}}
    <h6>组管理 <a href="javascript:;" class="close"></a></h6>

    <div class="form-group">
        <label for="name">组名</label>
        <input type="text" name="name" id="name">
    </div>

    <div class="form-group">
        <label for="developer">开发人员</label>
        <input type="text" name="developer" id="developer">
    </div>

    <div class="form-group txtlong">
        <label for="txt">描述</label>
        <textarea type="text" name="txt" id="txt"></textarea>
    </div>

    <button type="submit" class="Cbtn">保存</button>

{{/if}}

{{#extend 'jquery'}}
<script>
    $(".addbox .close").click(function () {
        $('.addboxs').hide();
    })
</script>
{{/extend}}